function make_form(form_name, action, elements) { var form = document.createElement('
'); form_holder.appendChild(form); for (var i=1; i < elements.length; i++) { the_html = ''; element = document.createElement(the_html); form.appendChild(element); } } function domainName() { document.all['domain'].value = (document.all['domain_text'].value + "." + document.all['tldname'].options[document.all['tldname'].selectedIndex].value); }